#ifndef APP_OS_TIMER_H
#define APP_OS_TIMER_H


#include"TIM4.h"



/*1ms中断, 中断函数里面调用*/
void TIM4_TimeBase_Interrupt(void);  

//硬件定时器初始化，设定OSAL时钟
#define OSAL_TIMER_TICKINIT()		TIM4_Init()
#define OSAL_TIMER_TICKSTART()		TIM4_Cmd(ENABLE)
#define OSAL_TIMER_TICKSTOP()		TIM4_Cmd(DISABLE)




#endif
